<?php
if($loggedin)
{
$ds = mysql_fetch_array(safe_query("SELECT * FROM ".PREFIX."user WHERE userID='".$userID."'"));

include("menu_messages.php");
include("menu_notifications.php");




eval ("\$loginform = \"".gettemplate("sc_logged")."\";");
echo $loginform;
}
else
{

$_SESSION['ws_sessiontest'] = true;
eval ("\$loginform = \"".gettemplate("sc_login")."\";");
echo $loginform;
/* $ds = mysql_fetch_array(safe_query("SELECT * FROM ".PREFIX."user WHERE userID='1'"));
$username = $ds['username'];
$money = $ds['money'];
eval ("\$loginform = \"".gettemplate("sc_logged")."\";");
echo $loginform; */

}

?>